﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CefSharp.WinForms;
using Newtonsoft.Json;
using SmartForm.Common;
using SmartlForm.DAL;
using SmartlForm.Model;
using System.Timers;

namespace SmartlForm.NetJs
{
    public partial class BowContainer
    {
        /// <summary>
        /// 获取文章内部
        /// </summary>
        /// <returns></returns>
        public string getAritcleList(int pageNo, int pageSize, string keyword)
        {
            var list = ArticleDao.Instance.GetPageList(pageNo, pageSize, getAccountId(), keyword);
            return JsonConvert.SerializeObject(list);
        }

    }
}
